﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace STLGROUP.Controls
{
    public class STLLabel : DevComponents.DotNetBar.LabelX
    {
        private bool _isRequested;

        public bool IsRequested
        {
            get { return _isRequested; }
            set 
            {
                _isRequested = value;
                this.Text = (_isRequested == true) ? this.Text += " <font color=\"#ED1C24\">*</font>" : this.Text.Replace("<font color=\"#ED1C24\">*</font>","");
            }
        }

    }
}
